<div>
<p *ngFor="let item of data">
    {{item.id}}-{{item.name}} <button (click)="delete(item)">delete</button>
</p>
<input type="text" #elid>
<input type="text" #elname>
<button (click)="add(elid.value,elname.value);elid.value='';elname.value='';">add</button>

<input type="file"  #elfile multiple="true">
<button (click)="file(elfile)">file</button>

<br/><button md-button>Click me!</button>
<md-checkbox>Check me!</md-checkbox>
<button  appMybgcolor="blue" myDefaultColor="red">appMybgcolor</button>
<button (appMyDebounceClick)="callclick($event)" [debounceTime]="300" >事件迟延</button>
</div>
